\hypertarget{classadelib_1_1media_1_1Media}{
\section{adelib::media::Media Class Reference}
\label{classadelib_1_1media_1_1Media}\index{adelib::media::Media@{adelib::media::Media}}
}
\hyperlink{classadelib_1_1media_1_1Media}{Media} provides a good structure for the rest of the project.  


Inheritance diagram for adelib::media::Media::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classadelib_1_1media_1_1Media}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
def \hyperlink{classadelib_1_1media_1_1Media_0701786e84db4d7ec26cc84fed36fae0}{\_\-\_\-init\_\-\_\-}
\begin{CompactList}\small\item\em \_\-\_\-init\_\-\_\- is the constructor for a \hyperlink{namespaceadelib_1_1media}{media} object. \item\end{CompactList}\item 
def \hyperlink{classadelib_1_1media_1_1Media_0701786e84db4d7ec26cc84fed36fae0}{\_\-\_\-init\_\-\_\-}
\begin{CompactList}\small\item\em \_\-\_\-init\_\-\_\- is the constructor for a new \hyperlink{namespaceadelib_1_1media}{media} object. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classadelib_1_1media_1_1Media_ec93dfa2e77f1c8506ff237b6ac09c03}{media\_\-id}
\item 
\hyperlink{classadelib_1_1media_1_1Media_864cfb21ee02950f81b56a8ec787fec3}{title}
\item 
\hyperlink{classadelib_1_1media_1_1Media_f0e78409392a0d5b042ec24c751c9baa}{year}
\item 
\hyperlink{classadelib_1_1media_1_1Media_1c4d70b41cf09cbc4ab6d440f1b5d8b7}{cover}
\item 
\hyperlink{classadelib_1_1media_1_1Media_adaafed01f7e064248123f684d516059}{ean}
\item 
\hyperlink{classadelib_1_1media_1_1Media_80c89827bacca0a78564bee8f99bb294}{rating}
\item 
\hyperlink{classadelib_1_1media_1_1Media_89116fb1ca51ea352500373e054ea804}{favorite}
\item 
\hyperlink{classadelib_1_1media_1_1Media_d99b6f9824bfa824d8091d463b068ce1}{format\_\-id}
\item 
\hyperlink{classadelib_1_1media_1_1Media_dcfe93b7ded1cae2fa42130cc58fbebc}{type\_\-id}
\item 
\hyperlink{classadelib_1_1media_1_1Media_cf350e1c776e4ff7222d6c71af524688}{studio\_\-id}
\item 
\hyperlink{classadelib_1_1media_1_1Media_c162b08995aa3b575c73ecd19698055e}{publisher\_\-id}
\item 
\hyperlink{classadelib_1_1media_1_1Media_14028607f24712d2c2e2aba479691afb}{tags}
\item 
\hyperlink{classadelib_1_1media_1_1Media_78214137e4ba0f782e0dbab16fea30c1}{humans}
\end{CompactItemize}


\subsection{Detailed Description}
\hyperlink{classadelib_1_1media_1_1Media}{Media} provides a good structure for the rest of the project. 

And provide a wrapper class for the objects inside the system.

This class holds a bunch of different class variables to reassamble the database representation of a \hyperlink{namespaceadelib_1_1media}{media} object. 

\subsection{Member Function Documentation}
\hypertarget{classadelib_1_1media_1_1Media_0701786e84db4d7ec26cc84fed36fae0}{
\index{adelib::media::Media@{adelib::media::Media}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}def adelib::media::Media::\_\-\_\-init\_\-\_\- ( {\em self}, \/   {\em title}, \/   {\em year}, \/   {\em cover}, \/   {\em ean}, \/   {\em rating}, \/   {\em favorite}, \/   {\em format\_\-id}, \/   {\em type\_\-id}, \/   {\em studio\_\-id}, \/   {\em publisher\_\-id}, \/   {\em tags}, \/   {\em humans})}}
\label{classadelib_1_1media_1_1Media_0701786e84db4d7ec26cc84fed36fae0}


\_\-\_\-init\_\-\_\- is the constructor for a \hyperlink{namespaceadelib_1_1media}{media} object. 

This constructor should be used for creating a \hyperlink{namespaceadelib_1_1media}{media} object which you already have the information to. I.e when you fetch the \hyperlink{namespaceadelib_1_1media}{media} from the database.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em self}]The object pointer. \item[{\em title}]A string which specifies the title of the \hyperlink{namespaceadelib_1_1media}{media} object. \item[{\em year}]An integer representation for a year. \item[{\em cover}]An absolute path to the \hyperlink{namespaceadelib_1_1media}{media} cover. \item[{\em ean}]A string representing the barcode EAN. \item[{\em rating}]An integer between 1 and 5. \item[{\em favorite}]A boolean value True of False if this is a user selected favorite. \item[{\em format\_\-id}]An integer that represents the format\_\-id. \item[{\em type\_\-id}]An integer that represents the type\_\-id. \item[{\em studio\_\-id}]An integer that represents the studio\_\-id. \item[{\em publisher\_\-id}]An integer that represents the publisher\_\-id. \item[{\em tags}]A list of strings representing the tags connected to the specified media\_\-id. \item[{\em humans}]A list of humans representing the humans connected to the specified media\_\-id. \end{description}
\end{Desc}
\hypertarget{classadelib_1_1media_1_1Media_0701786e84db4d7ec26cc84fed36fae0}{
\index{adelib::media::Media@{adelib::media::Media}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}def adelib::media::Media::\_\-\_\-init\_\-\_\- ( {\em self})}}
\label{classadelib_1_1media_1_1Media_0701786e84db4d7ec26cc84fed36fae0}


\_\-\_\-init\_\-\_\- is the constructor for a new \hyperlink{namespaceadelib_1_1media}{media} object. 

It takes no parameters to create a new object. 

\subsection{Member Data Documentation}
\hypertarget{classadelib_1_1media_1_1Media_ec93dfa2e77f1c8506ff237b6ac09c03}{
\index{adelib::media::Media@{adelib::media::Media}!media\_\-id@{media\_\-id}}
\index{media\_\-id@{media\_\-id}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::media\_\-id}}}
\label{classadelib_1_1media_1_1Media_ec93dfa2e77f1c8506ff237b6ac09c03}


\hypertarget{classadelib_1_1media_1_1Media_864cfb21ee02950f81b56a8ec787fec3}{
\index{adelib::media::Media@{adelib::media::Media}!title@{title}}
\index{title@{title}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::title}}}
\label{classadelib_1_1media_1_1Media_864cfb21ee02950f81b56a8ec787fec3}


\hypertarget{classadelib_1_1media_1_1Media_f0e78409392a0d5b042ec24c751c9baa}{
\index{adelib::media::Media@{adelib::media::Media}!year@{year}}
\index{year@{year}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::year}}}
\label{classadelib_1_1media_1_1Media_f0e78409392a0d5b042ec24c751c9baa}


\hypertarget{classadelib_1_1media_1_1Media_1c4d70b41cf09cbc4ab6d440f1b5d8b7}{
\index{adelib::media::Media@{adelib::media::Media}!cover@{cover}}
\index{cover@{cover}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::cover}}}
\label{classadelib_1_1media_1_1Media_1c4d70b41cf09cbc4ab6d440f1b5d8b7}


\hypertarget{classadelib_1_1media_1_1Media_adaafed01f7e064248123f684d516059}{
\index{adelib::media::Media@{adelib::media::Media}!ean@{ean}}
\index{ean@{ean}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::ean}}}
\label{classadelib_1_1media_1_1Media_adaafed01f7e064248123f684d516059}


\hypertarget{classadelib_1_1media_1_1Media_80c89827bacca0a78564bee8f99bb294}{
\index{adelib::media::Media@{adelib::media::Media}!rating@{rating}}
\index{rating@{rating}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::rating}}}
\label{classadelib_1_1media_1_1Media_80c89827bacca0a78564bee8f99bb294}


\hypertarget{classadelib_1_1media_1_1Media_89116fb1ca51ea352500373e054ea804}{
\index{adelib::media::Media@{adelib::media::Media}!favorite@{favorite}}
\index{favorite@{favorite}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::favorite}}}
\label{classadelib_1_1media_1_1Media_89116fb1ca51ea352500373e054ea804}


\hypertarget{classadelib_1_1media_1_1Media_d99b6f9824bfa824d8091d463b068ce1}{
\index{adelib::media::Media@{adelib::media::Media}!format\_\-id@{format\_\-id}}
\index{format\_\-id@{format\_\-id}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::format\_\-id}}}
\label{classadelib_1_1media_1_1Media_d99b6f9824bfa824d8091d463b068ce1}


\hypertarget{classadelib_1_1media_1_1Media_dcfe93b7ded1cae2fa42130cc58fbebc}{
\index{adelib::media::Media@{adelib::media::Media}!type\_\-id@{type\_\-id}}
\index{type\_\-id@{type\_\-id}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::type\_\-id}}}
\label{classadelib_1_1media_1_1Media_dcfe93b7ded1cae2fa42130cc58fbebc}


\hypertarget{classadelib_1_1media_1_1Media_cf350e1c776e4ff7222d6c71af524688}{
\index{adelib::media::Media@{adelib::media::Media}!studio\_\-id@{studio\_\-id}}
\index{studio\_\-id@{studio\_\-id}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::studio\_\-id}}}
\label{classadelib_1_1media_1_1Media_cf350e1c776e4ff7222d6c71af524688}


\hypertarget{classadelib_1_1media_1_1Media_c162b08995aa3b575c73ecd19698055e}{
\index{adelib::media::Media@{adelib::media::Media}!publisher\_\-id@{publisher\_\-id}}
\index{publisher\_\-id@{publisher\_\-id}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::publisher\_\-id}}}
\label{classadelib_1_1media_1_1Media_c162b08995aa3b575c73ecd19698055e}


\hypertarget{classadelib_1_1media_1_1Media_14028607f24712d2c2e2aba479691afb}{
\index{adelib::media::Media@{adelib::media::Media}!tags@{tags}}
\index{tags@{tags}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::tags}}}
\label{classadelib_1_1media_1_1Media_14028607f24712d2c2e2aba479691afb}


\hypertarget{classadelib_1_1media_1_1Media_78214137e4ba0f782e0dbab16fea30c1}{
\index{adelib::media::Media@{adelib::media::Media}!humans@{humans}}
\index{humans@{humans}!adelib::media::Media@{adelib::media::Media}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf adelib::media::Media::humans}}}
\label{classadelib_1_1media_1_1Media_78214137e4ba0f782e0dbab16fea30c1}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
/home/mett/src/adelide/src/adelib/\hyperlink{media_8py}{media.py}\end{CompactItemize}
